package com.ruoyi.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 文件管理对象 biz_file
 * 
 * @author wsa
 * @date 2019-10-20
 */
public class BizFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 存储方式 */
    private String storageType;

    /** 原名 */
    private String originalFileName;

    /** 大小 */
    private Long size;

    /** 后缀 */
    @Excel(name = "后缀")
    private String suffix;

    /** 宽度 */
    private Integer width;

    /** 高度 */
    private Integer height;

    /** 相对路径 */
    private String filePath;

    /** 全路径 */
    private String fullFilePath;

    /** hash */
    @Excel(name = "hash")
    private String fileHash;

    /** 上传类型 */
    @Excel(name = "上传类型")
    private String uploadType;

    /** 开始上传时间 */
    @Excel(name = "开始上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadStartTime;

    /** 上传结束时间 */
    @Excel(name = "上传结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadEndTime;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 备用1 */
    private String remarkcolumn1;

    /** 备用2 */
    private String remarkcolumn2;

    /** 备用3 */
    private String remarkcolumn3;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setStorageType(String storageType) 
    {
        this.storageType = storageType;
    }

    public String getStorageType() 
    {
        return storageType;
    }
    public void setOriginalFileName(String originalFileName) 
    {
        this.originalFileName = originalFileName;
    }

    public String getOriginalFileName() 
    {
        return originalFileName;
    }
    public void setSize(Long size) 
    {
        this.size = size;
    }

    public Long getSize() 
    {
        return size;
    }
    public void setSuffix(String suffix) 
    {
        this.suffix = suffix;
    }

    public String getSuffix() 
    {
        return suffix;
    }
    public void setWidth(Integer width) 
    {
        this.width = width;
    }

    public Integer getWidth() 
    {
        return width;
    }
    public void setHeight(Integer height) 
    {
        this.height = height;
    }

    public Integer getHeight() 
    {
        return height;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFullFilePath(String fullFilePath) 
    {
        this.fullFilePath = fullFilePath;
    }

    public String getFullFilePath() 
    {
        return fullFilePath;
    }
    public void setFileHash(String fileHash) 
    {
        this.fileHash = fileHash;
    }

    public String getFileHash() 
    {
        return fileHash;
    }
    public void setUploadType(String uploadType) 
    {
        this.uploadType = uploadType;
    }

    public String getUploadType() 
    {
        return uploadType;
    }
    public void setUploadStartTime(Date uploadStartTime) 
    {
        this.uploadStartTime = uploadStartTime;
    }

    public Date getUploadStartTime() 
    {
        return uploadStartTime;
    }
    public void setUploadEndTime(Date uploadEndTime) 
    {
        this.uploadEndTime = uploadEndTime;
    }

    public Date getUploadEndTime() 
    {
        return uploadEndTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRemarkcolumn1(String remarkcolumn1) 
    {
        this.remarkcolumn1 = remarkcolumn1;
    }

    public String getRemarkcolumn1() 
    {
        return remarkcolumn1;
    }
    public void setRemarkcolumn2(String remarkcolumn2) 
    {
        this.remarkcolumn2 = remarkcolumn2;
    }

    public String getRemarkcolumn2() 
    {
        return remarkcolumn2;
    }
    public void setRemarkcolumn3(String remarkcolumn3) 
    {
        this.remarkcolumn3 = remarkcolumn3;
    }

    public String getRemarkcolumn3() 
    {
        return remarkcolumn3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("storageType", getStorageType())
            .append("originalFileName", getOriginalFileName())
            .append("size", getSize())
            .append("suffix", getSuffix())
            .append("width", getWidth())
            .append("height", getHeight())
            .append("filePath", getFilePath())
            .append("fullFilePath", getFullFilePath())
            .append("fileHash", getFileHash())
            .append("uploadType", getUploadType())
            .append("uploadStartTime", getUploadStartTime())
            .append("uploadEndTime", getUploadEndTime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("remarkcolumn1", getRemarkcolumn1())
            .append("remarkcolumn2", getRemarkcolumn2())
            .append("remarkcolumn3", getRemarkcolumn3())
            .toString();
    }
}
